home *** CD-ROM | disk | FTP | other *** search
/ Delphi 2.0 - Programmer's Utilities Power Pack / Delphi 2.0 Programmer's Utilities Power Pack.iso / m_to_r / roppop / readme.txt < prev    next >
Encoding:
Text File  |  1996-09-15  |  2.1 KB  |  68 lines

  1.  
  2.  TRopPop 1.0  (c) 1995 by Eyal Frank
  3.   Tel Aviv
  4.   Israel
  5.   CIS : 100274,3376
  6.   EMail frank-e@Trendline.co.il
  7.  
  8.   This is my first component , i realy want to get any feedback,
  9.   So drop me an Email please.
  10.  
  11.   This is a component to display a modal Window with the cool shadow effect
  12.   i'd get the basic idea from MSDN  (i don't remember the actual program)
  13.   TRoppop will adjust his size to the size of the strings that you entered  
  14.   at Lines property.
  15.  
  16.   TRopPop is FreeWare. You may use it freely at your own risk in any
  17.   kind of environment. This component is not to be sold at any charge, and
  18.   must be distributed along with the source code.
  19.  
  20.  
  21.   property Brush
  22.            TBrush , the Window BackGround.
  23.  
  24.   property Font : TFont
  25.            The font of the text. Note that the window will Autosize to
  26.            fit the size of the string .
  27.  
  28.   property Lines: TStrings
  29.            Where u store the actual String(s)
  30.  
  31.   property TimeClose:Integer (ms)
  32.           if u want that the window will auto close himself ,Set this property
  33.           to the amount of mSecs. for example 1000 will close after one sec.
  34.           if 0, then no auto close.
  35.   property xPos,yPos :Integer
  36.           the x and y coordinates of top left of win whn execute.
  37.           if set to 0,then it will center.
  38.  
  39.   procedure Fire
  40.          Like Execute. this proc will open the window and wait until user's
  41.          any key down or click.(or auto close as above)
  42.  
  43. To install :
  44. Place troppop.pas ,ropwin.pas , ropwin.dfm , troppop.dcr 
  45. at your Delphi's componets path. add from Option/install component tropop.pas.
  46.  
  47. Example of use:
  48.  
  49. Don't forget to insert some strings to Lines property before fire.either dynamicly
  50. or at design time.
  51. type
  52.   TForm1 = class(TForm)
  53.     RopWin1: TRopWin;  
  54.   private
  55.   public
  56.     { Public declarations }
  57.   end;
  58. ....
  59.  
  60. RopWin1.Lines.Add('This is a test');
  61. RopWin1.Fire
  62. That all. simply play with the properties.
  63.  
  64. i have a lot of Cool Windows Code written in "C", just begin with Pascal &
  65. Delphi transalation, so there will be more. 
  66.  
  67.  
  68.